package com.boyunv.bridge.example02;/*
 *@description
 *  支付抽象类
 *@author boyunv
 *@create 2023/7/13 23:22
 *@version 1.0
 */

import java.math.BigDecimal;

public abstract class Pay {
    //桥接对象
    protected  IPayMode payMode;

    public Pay(IPayMode payMode){
        this.payMode=payMode;
    }
    //划账
    public abstract  String transfer(String uId, String tradeId, BigDecimal amount);

}
